<!DOCTYPE html>
<!-- saved from url=(0039)https://www.jb51.net/article/222800.htm -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><script type="text/javascript" async="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/auto_dup"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(4).txt"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(5).txt"></script><script type="text/javascript" async="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(6).txt" id="google_shimpl"></script>


<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="https://img.jbzj.com/">
<link rel="dns-prefetch" href="https://icws.jb51.net/">
<link rel="dns-prefetch" href="https://files.jb51.net/">
<meta name="applicable-device" content="pc">
<meta name="renderer" content="webkit">
<meta name="force-rendering" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta http-equiv="Cache-Control" content="no-transform">
<title>使用JVM常用GC日志打印参数_java_脚本之家</title>
<meta name="keywords" content="JVM常用参数,GC日志,常用GC日志,打印参数">
<meta name="description" content="这篇文章主要介绍了使用JVM常用GC日志打印参数，具有很好的参考价值，希望对大家有所帮助。如有错误或未考虑完全的地方，望不吝赐教">
<link rel="alternate" media="only screen and(max-width: 640px)" href="https://m.jb51.net/article/222800.htm">
<meta http-equiv="mobile-agent" content="format=html5; url=https://m.jb51.net/article/222800.htm">
<meta http-equiv="mobile-agent" content="format=xhtml; url=https://m.jb51.net/article/222800.htm">
<script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/hm.js.下载"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/push.js.下载"></script><script type="text/javascript">
    var tougao = "jingxian",
        lmname = "java",
        suoyin = "ok";
    (function() {
        if (/Android|webOS|iPhone|iPad|Windows Phone|iPod|BlackBerry|SymbianOS|Nokia|Mobile|Opera Mini/i.test(navigator.userAgent)) {
            var siteName = window.location.pathname,
                url = window.location.href;
            if (url.indexOf("?pc") < 0) {
                try {
                    if (typeof siteName !== "undefined") {
                        window.location.href = "https://m.jb51.net" + siteName
                    }
                } catch (e) {}
            }
        }
    })();
</script>
<meta name="referrer" content="always">
<link type="text/css" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/base.css" rel="stylesheet">
<link type="text/css" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/common.css" rel="stylesheet">
<link type="text/css" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/viewer.min.css" rel="stylesheet">
<script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/jquery.min.js.下载"></script>
<script type="text/javascript">
    if (typeof jQuery == 'undefined') {
        document.write(unescape("%3Cscript src='/skin/js/jquery.js' type='text/javascript'%3E%3C/script%3E"));
    }
</script>
<script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/functionutf.js.下载"></script>
<style type="text/css">
    .AutoCatelogLlist > ul { position: relative; }    
  </style><meta http-equiv="origin-trial" content="AxujKG9INjsZ8/gUq8+dTruNvk7RjZQ1oFhhgQbcTJKDnZfbzSTE81wvC2Hzaf3TW4avA76LTZEMdiedF1vIbA4AAABueyJvcmlnaW4iOiJodHRwczovL2ltYXNkay5nb29nbGVhcGlzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="><meta http-equiv="origin-trial" content="Azuce85ORtSnWe1MZDTv68qpaW3iHyfL9YbLRy0cwcCZwVnePnOmkUJlG8HGikmOwhZU22dElCcfrfX2HhrBPAkAAAB7eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A16nvcdeoOAqrJcmjLRpl1I6f3McDD8EfofAYTt/P/H4/AWwB99nxiPp6kA0fXoiZav908Z8etuL16laFPUdfQsAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="AxBHdr0J44vFBQtZUqX9sjiqf5yWZ/OcHRcRMN3H9TH+t90V/j3ENW6C8+igBZFXMJ7G3Pr8Dd13632aLng42wgAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A88BWHFjcawUfKU3lIejLoryXoyjooBXLgWmGh+hNcqMK44cugvsI5YZbNarYvi3roc1fYbHA1AVbhAtuHZflgEAAAB2eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IlRydXN0VG9rZW5zIiwiZXhwaXJ5IjoxNjUyNzc0NDAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AzoawhTRDevLR66Y6MROu167EDncFPBvcKOaQispTo9ouEt5LvcBjnRFqiAByRT+2cDHG1Yj4dXwpLeIhc98/gIAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A6+nc62kbJgC46ypOwRsNW6RkDn2x7tgRh0wp7jb3DtFF7oEhu1hhm4rdZHZ6zXvnKZLlYcBlQUImC4d3kKihAcAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A/9La288e7MDEU2ifusFnMg1C2Ij6uoa/Z/ylwJIXSsWfK37oESIPbxbt4IU86OGqDEPnNVruUiMjfKo65H/CQwAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AxujKG9INjsZ8/gUq8+dTruNvk7RjZQ1oFhhgQbcTJKDnZfbzSTE81wvC2Hzaf3TW4avA76LTZEMdiedF1vIbA4AAABueyJvcmlnaW4iOiJodHRwczovL2ltYXNkay5nb29nbGVhcGlzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="><meta http-equiv="origin-trial" content="Azuce85ORtSnWe1MZDTv68qpaW3iHyfL9YbLRy0cwcCZwVnePnOmkUJlG8HGikmOwhZU22dElCcfrfX2HhrBPAkAAAB7eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A16nvcdeoOAqrJcmjLRpl1I6f3McDD8EfofAYTt/P/H4/AWwB99nxiPp6kA0fXoiZav908Z8etuL16laFPUdfQsAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="AxBHdr0J44vFBQtZUqX9sjiqf5yWZ/OcHRcRMN3H9TH+t90V/j3ENW6C8+igBZFXMJ7G3Pr8Dd13632aLng42wgAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A88BWHFjcawUfKU3lIejLoryXoyjooBXLgWmGh+hNcqMK44cugvsI5YZbNarYvi3roc1fYbHA1AVbhAtuHZflgEAAAB2eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IlRydXN0VG9rZW5zIiwiZXhwaXJ5IjoxNjUyNzc0NDAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AzoawhTRDevLR66Y6MROu167EDncFPBvcKOaQispTo9ouEt5LvcBjnRFqiAByRT+2cDHG1Yj4dXwpLeIhc98/gIAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A6+nc62kbJgC46ypOwRsNW6RkDn2x7tgRh0wp7jb3DtFF7oEhu1hhm4rdZHZ6zXvnKZLlYcBlQUImC4d3kKihAcAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A/9La288e7MDEU2ifusFnMg1C2Ij6uoa/Z/ylwJIXSsWfK37oESIPbxbt4IU86OGqDEPnNVruUiMjfKo65H/CQwAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AxujKG9INjsZ8/gUq8+dTruNvk7RjZQ1oFhhgQbcTJKDnZfbzSTE81wvC2Hzaf3TW4avA76LTZEMdiedF1vIbA4AAABueyJvcmlnaW4iOiJodHRwczovL2ltYXNkay5nb29nbGVhcGlzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="><meta http-equiv="origin-trial" content="Azuce85ORtSnWe1MZDTv68qpaW3iHyfL9YbLRy0cwcCZwVnePnOmkUJlG8HGikmOwhZU22dElCcfrfX2HhrBPAkAAAB7eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A16nvcdeoOAqrJcmjLRpl1I6f3McDD8EfofAYTt/P/H4/AWwB99nxiPp6kA0fXoiZav908Z8etuL16laFPUdfQsAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="AxBHdr0J44vFBQtZUqX9sjiqf5yWZ/OcHRcRMN3H9TH+t90V/j3ENW6C8+igBZFXMJ7G3Pr8Dd13632aLng42wgAAACBeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiVHJ1c3RUb2tlbnMiLCJleHBpcnkiOjE2NTI3NzQ0MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A88BWHFjcawUfKU3lIejLoryXoyjooBXLgWmGh+hNcqMK44cugvsI5YZbNarYvi3roc1fYbHA1AVbhAtuHZflgEAAAB2eyJvcmlnaW4iOiJodHRwczovL2dvb2dsZS5jb206NDQzIiwiZmVhdHVyZSI6IlRydXN0VG9rZW5zIiwiZXhwaXJ5IjoxNjUyNzc0NDAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="AzoawhTRDevLR66Y6MROu167EDncFPBvcKOaQispTo9ouEt5LvcBjnRFqiAByRT+2cDHG1Yj4dXwpLeIhc98/gIAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A6+nc62kbJgC46ypOwRsNW6RkDn2x7tgRh0wp7jb3DtFF7oEhu1hhm4rdZHZ6zXvnKZLlYcBlQUImC4d3kKihAcAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv="origin-trial" content="A/9La288e7MDEU2ifusFnMg1C2Ij6uoa/Z/ylwJIXSsWfK37oESIPbxbt4IU86OGqDEPnNVruUiMjfKo65H/CQwAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjYxMjk5MTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><link rel="preload" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt" as="script"><script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt"></script><link rel="preload" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt" as="script"><script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt"></script><link rel="preload" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt" as="script"><script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt"></script><link rel="preload" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt" as="script"><script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt"></script><link rel="preload" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt" as="script"><script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt"></script><link rel="preload" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt" as="script"><script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(7).txt"></script></head>

<body aria-hidden="false" class="" style="padding-right: 0px;">
    <!--topTools Start -->
    <div id="topbar">
        <div id="wrap">
            <div class="topbarleft">
                <a href="https://shequ.jb51.net/" target="_blank">脚本之家社区</a>
                <a href="http://s.jb51.net/" target="_blank" rel="nofollow">服务器常用软件</a>
            <a href="https://www.yuanshichang.com/" target="_blank" style="color:red">源码商城</a></div>
            <div class="fr">
                <ul>
                    <li><i class="ico-mobile"></i><a target="_blank" href="https://m.jb51.net/" rel="nofollow">手机版</a></li>
                    <li><i class="ico-contribute"></i><a href="http://tougao.jb51.net/" rel="nofollow" target="_blank">投稿中心</a></li>
                    <li id="wxHide"><i class="ico-wechat"></i><a href="javascript:void(0)" target="_blank">关注微信</a>
                        <div id="wxShow" class="wxHide_box"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/erwm.jpg" alt="扫一扫" width="84" hight="84" data-baiduimageplus-ignore=""></div>
                    </li>
                </ul>
                <!--快捷导航 开始 -->
                <div class="text_d right" id="navHide">
                    <a rel="nofollow" href="javascript:void(0);">快捷导航 <i class="arrowright"></i></a>
                    <div id="navBox" class="nwebnav">
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="https://www.jb51.net/softs/" target="_blank">软件下载</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/softs/android.html" target="_blank">android</a>
                                    <a rel="nofollow" href="https://www.jb51.net/softs/mac.html" target="_blank">MAC</a>
                                    <a rel="nofollow" href="https://www.jb51.net/qudong/" target="_blank">驱动下载</a>
                                    <a rel="nofollow" href="https://www.jb51.net/fonts/" target="_blank">字体下载</a>
                                    <a rel="nofollow" href="https://www.jb51.net/dll/" target="_blank">DLL</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="https://www.jb51.net/codes/" target="_blank">源码下载</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/codes/php.html" target="_blank">PHP</a>
                                    <a rel="nofollow" href="https://www.jb51.net/codes/aspnet.html" target="_blank">ASP.NET</a>
                                    <a rel="nofollow" href="https://www.jb51.net/codes/asp.html" target="_blank">ASP</a>
                                    <a rel="nofollow" href="https://www.jb51.net/codes/jsp.html" target="_blank">JSP</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="https://www.jb51.net/list/index_84.htm" target="_blank">软件编程</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_85_1.htm" target="_blank">C#</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_134_1.htm" target="_blank">JAVA</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_159_1.htm" target="_blank">C 语言</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_206_1.htm" target="_blank">Delphi</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_233_1.htm" target="_blank">Android</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="https://www.jb51.net/list/index_1.htm" target="_blank">网络编程</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_15_1.htm" target="_blank">PHP</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_21_1.htm" target="_blank">ASP.NET</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_2_1.htm" target="_blank">ASP</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_3_1.htm" target="_blank">JavaScript</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="http://tools.jb51.net/" target="_blank">在线工具</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/tools/cssyasuo.shtml" target="_blank">CSS格式化</a>
                                    <a rel="nofollow" href="http://tools.jb51.net/tools/js_geshihua.asp" target="_blank">JS格式化</a>
                                    <a rel="nofollow" href="https://www.jb51.net/tools/html-js.htm" target="_blank">Html转化为Js</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="https://www.jb51.net/list/index_104.htm" target="_blank">数据库</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_112_1.htm" target="_blank">MYSQL</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_113_1.htm" target="_blank">MSSQL</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_154_1.htm" target="_blank">oracle</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_155_1.htm" target="_blank">DB2</a>
                                    <a rel="nofollow" href="https://www.jb51.net/list/list_252_1.htm" target="_blank">MARIADB</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="https://www.jb51.net/cms/" target="_blank">CMS</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/cms/list411_1.html" target="_blank">PHPCMS</a>
                                    <a rel="nofollow" href="https://www.jb51.net/cms/list408_1.html" target="_blank">DEDECMS</a>
                                    <a rel="nofollow" href="https://www.jb51.net/cms/list578_1.html" target="_blank">帝国CMS</a>
                                    <a rel="nofollow" href="https://www.jb51.net/cms/list419_1.html" target="_blank">WordPress</a>
                                </dd>
                            </dl>
                        </div>
                        <div class="ndeallist clear_fix">
                            <h4><a rel="nofollow" href="javascript:0;" target="_blank">常用工具</a></h4>
                            <dl>
                                <dd>
                                    <a rel="nofollow" href="https://www.jb51.net/zt/phphuanjing.html" target="_blank">PHP开发工具</a>
                                    <a rel="nofollow" href="https://www.jb51.net/zt/python.html" target="_blank">python</a>
                                    <a rel="nofollow" href="https://www.jb51.net/zt/photoshopxz.html" target="_blank">Photoshop</a>
                                    <a rel="nofollow" href="https://www.jb51.net/bibei/win/index.html" target="_blank">必备软件</a>
                                </dd>
                            </dl>
                        </div>
                    </div>
                </div>
                <!--快捷导航 结束 -->
            </div>
        </div>
    </div>
    <!--topTools end -->

    <div id="header">
        <!-- Logo start -->
        <div id="logo"><a href="https://www.jb51.net/"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/logo.gif" title="脚本之家" alt="脚本之家"></a></div>
        <div class="logom fl"><a href="tencent://message/?uin=3522365&amp;Site=//www.jb51.net" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/zhaozu430.jpg" width="430" height="60"></a></div>
        <div class="logor fr"><a href="https://ziyuan.jb51.net/" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ziyuan430.png" width="430" height="60"></a></div>
        <!--Logo end -->
    </div>
    <!--Logo end -->

    <!-- 导航开始 -->
    <div id="nav">
        <ul>
            <li><a href="https://www.jb51.net/">网站首页</a></li>
            <li><a href="https://www.jb51.net/web/">网页制作</a></li>
            <li><a href="https://www.jb51.net/list/index_1.htm">网络编程</a></li>
            <li><a href="https://www.jb51.net/list/index_96.htm">脚本专栏</a></li>
            <li><a href="https://www.jb51.net/jiaoben/">脚本下载</a></li>
            <li><a href="https://www.jb51.net/list/index_104.htm">数据库</a></li>
            <li><a href="https://www.jb51.net/list/list_82_1.htm">服务器</a></li>
            <li><a href="https://www.jb51.net/books/">电子书籍</a></li>
            <li><a href="https://www.jb51.net/os/">操作系统</a></li>
            <li><a href="https://www.jb51.net/yunying/">网站运营</a></li>
            <li><a href="https://www.jb51.net/pingmian/">平面设计</a></li>
            <li>
                <p><i>其它</i><span>
                        <a href="https://www.jb51.net/media/">媒体动画</a>
                        <a href="https://www.jb51.net/diannaojichu/">电脑基础</a>
                        <a href="https://www.jb51.net/hardware/">硬件教程</a>
                        <a href="https://www.jb51.net/hack/">网络安全</a>
                    </span></p>
            </li>
        </ul>
    </div>
    <!--导航结束-->

    <!-- 二级菜单开始 -->
    <div id="submenu">
        <div class="subnav clearfix">
            <ul><li><a href="https://www.jb51.net/list/list_85_1.htm" title="C#教程">C#教程</a></li>
<li><a href="https://www.jb51.net/list/list_93_1.htm" title="vb">vb</a></li>
<li><a href="https://www.jb51.net/list/list_205_1.htm" title="vb.net">vb.net</a></li>
<li><a href="https://www.jb51.net/list/list_159_1.htm" title="C 语言">C 语言</a></li>
<li><a href="https://www.jb51.net/list/list_134_1.htm" title="Java编程">Java编程</a></li>
<li><a href="https://www.jb51.net/list/list_206_1.htm" title="Delphi">Delphi</a></li>
<li><a href="https://www.jb51.net/list/list_207_1.htm" title="java">java</a></li>
<li><a href="https://www.jb51.net/list/list_233_1.htm" title="Android">Android</a></li>
<li><a href="https://www.jb51.net/list/list_238_1.htm" title="IOS">IOS</a></li>
<li><a href="https://www.jb51.net/list/list_244_1.htm" title="Swift">Swift</a></li>
<li><a href="https://www.jb51.net/list/list_250_1.htm" title="Scala">Scala</a></li>
<li><a href="https://www.jb51.net/list/list_254_1.htm" title="易语言">易语言</a></li>
<li><a href="https://www.jb51.net/list/list_273_1.htm" title="汇编语言">汇编语言</a></li>
<li><a href="https://www.jb51.net/list/list_274_1.htm" title="R语言">R语言</a></li>
<li><a href="https://www.jb51.net/list/list_188_1.htm" title="其它相关">其它相关</a></li>
</ul>
        </div>
    </div>
    <!-- 二级菜单结束 -->

    <!--content Star -->
    <div id="wrapper" style="height: auto !important;">
        <div id="container" style="height: auto !important;">
            <div class="pt10 clearfix">
                <div class="clearfix"><div class="mainlr"><a href="https://www.yundun.com/ddos?jihua=%E8%84%9A%E6%9C%AC%E4%B9%8B%E5%AE%B6&amp;zu=%E9%95%BF%E5%9B%BE&amp;guanjianci=%E4%BA%A7%E5%93%81%E7%BD%97%E5%88%97&amp;e_creative={creative}&amp;e_pagenum={pagenum}&amp;e_keywordid={keywordid}" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/yundun1200.png" alt="" width="1200" height="50"><span><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/tu.jpg" width="29" height="16" alt=""></span></a></div><div class="blank5"></div><div class="topimg"><ul><li><a href="http://www.uuh5.com/?jb51" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/uuh5235.gif" width="235" height="50"></a></li><li><a href="http://www.cnzlapp.com/" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/cnzlapp210.gif" width="235" height="50"></a></li><li><a href="http://github.crmeb.net/u/jiaobenzhijia" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/crmeb235.gif" width="235" height="50"></a></li><li><a href="http://www.ku86.com/" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/jieidc_237.gif" width="235" height="50"></a></li><li><a href="https://www.8a.hk/server/" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/8a210.gif" width="235" height="50"></a></li></ul></div><div class="blank5"></div><div id="txtlink"><ul><li><a href="https://www.redidc.net/" target="_blank"><span style="color: red;">公网kali镜像VPS 红队云为安全从业者服务</span></a></li><li><a href="http://www.uuwaf.com/" target="_blank"><span style="color: red;">网站全球加速和超级防御[优优加速]</span></a></li><li><a href="http://go.yitanyun.com/url/51jbwz/" target="_blank"><span style="color: red;">▍易探云 ▍香港云主机=9元</span></a></li><li><a href="http://www.zoneidc.com/" target="_blank"><span style="color: red;">香港/美国/韩国等十五国云服务器9.9元/月起</span></a></li><li><a href="http://www.boluoyun.com/" target="_blank"><span style="color: blue;">【菠萝云】来了,【正规商家】香港4G内存99元</span></a></li><li><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=1006456867&amp;site=qq&amp;menu=yes" target="_blank"><span style="color: blue;">██机房大带宽机柜Q:1006456867██</span></a></li><li><a href="http://ad2.bukfmz.com/" target="_blank"><span style="color: blue;">官方播放器收cps诚心收量 实时结算 &lt;在线秒回&gt;</span></a></li><li><a href="http://ad2.bukfmz.com/" target="_blank"><span style="color: blue;">官方播放器收cps诚心收量 实时结算 &lt;在线秒回&gt;</span></a></li><li><a href="http://ad2.bukfmz.com/" target="_blank"><span style="color: red;">一手播放器高转化收量</span></a></li><li><a href="https://s.jb51.net/" target="_blank"><span style="color: red;">服务器常用软件</span></a></li><li><a href="http://www.hostspaceidc.com/front/products/datacenter?from=jb51-pic" target="_blank"><span style="color: red;">海外大带宽 站群 高防服务器</span></a></li><li><a href="http://www.centcc.com/" target="_blank"><span style="color: red;">北京闪迅 机架3900元 BGP带宽</span></a></li><li><a href="https://www.wsisp.com/cloud.html" target="_blank"><span style="color: blue;">香港CN2云主机★29元/月</span></a></li><li><a href="http://www.qy.com.cn/" target="_blank"><span style="color: blue;">群英云服务器送10M带宽30G防御,49元起</span></a></li><li><a href="http://www.tuidc.com/" target="_blank"><span style="color: blue;">服务器租用/托管-域名空间/认准腾佑科技</span></a></li><li><a href="http://www.vzidc.com/cloud/" target="_blank"><span style="color: blue;">华为云4核8g限时免费送另有代金券免费送</span></a></li><li><a href="http://www.ushk.net/server.html" target="_blank"><span style="color: red;">██美港数据██高端香港服务器租用</span></a></li><li><a href="http://vps.zzidc.com/tongji/jb51w.html" target="_blank"><span style="color: red;">★☆云服务器5折，天天抽红包抵扣☆★</span></a></li><li><a href="https://s.jb51.net/" target="_blank"><span style="color: red;">服务器常用软件</span></a></li><li><a href="https://www.dzisp.cn/" target="_blank"><span style="color: red;">成都|德阳|电信100G高防24核物理机500元</span></a></li><li><a href="http://www.pppoevps.com/" target="_blank"><span style="color: blue;">█动态拨号IP云主机，电信ADSL独享20M█ </span></a></li><li><a href="http://www.360jq.com/hkshuang.htm" target="_blank"><span style="color: blue;">[香港双高防]无视CC★DDOS/堪比广东！</span></a></li><li><a href="http://www.cyidc.cc/" target="_blank"><span style="color: blue;">畅游网络 百独服务器 包跑满 998元</span></a></li><li><a href="http://www.wdw6.com/" target="_blank"><span style="color: blue;">bgp多线机房、大带宽</span></a></li><li><a href="http://www.ssf.cc/" target="_blank"><span style="color: red;">免备vps20/百独799/双线350/45互联</span></a></li><li><a href="http://www.zitian.cn/" target="_blank"><span style="color: red;">中原地区核心数据中心，月付299元起</span></a></li><li><a href="http://www.qy.cn/gfhd.html" target="_blank"><span style="color: red;">██群英网络██◆◆◆300G高防仅需599元◆◆◆</span></a></li><li><a href="https://www.zj-idc.com/" target="_blank"><span style="color: red;">上云就选华晨云，每天最低仅需1.2元</span></a></li><li><a href="http://www.gwidc.com/rent/home/index.html" target="_blank"><span style="color: blue;">港湾网络徐州百独800/月,100G高防云150</span></a></li><li><a href="http://www.hkcn2.com/51.htm" target="_blank"><span style="color: blue;">**香港高防10m大带宽独服，低至999元**</span></a></li><li><a href="http://www.xiaozhiyun.com/2016/" target="_blank"><span style="color: blue;">韩国香港美国站群服务器 巨牛网络</span></a></li><li><a href="http://tianyi.jb51.net/" target="_blank"><span style="color: blue;">天翼云，云主机，云存储，云安全</span></a></li></ul><div class="clearfix"></div></div><div class="blank5"></div><div class="topimg"><ul><li><a href="https://www.hncloud.com/activity_register.html?p=jb51&amp;register" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/huana235_331.gif" width="235" height="50"></a></li><li><a href="http://51.jhfcec.com/" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/gkcnvnj235.gif" width="235" height="50"></a></li><li><a href="https://ke.qq.com/course/3548735?tuin=a8309c08" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/zimeiti.gif" width="235" height="50"></a></li><li><a href="https://www.henghost.com/coupons.shtml?s=zz&amp;jb51" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/hc2352.gif" width="235" height="50"></a></li><li><a href="https://www.zndata.com/dedicatedserver/" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/zoneidc235.gif" width="235" height="50"></a></li></ul></div><div class="blank5"></div></div>
            </div>

            <div class="clearfix">
                <div class="breadcrumb">
                    <i class="ico-path"></i>您的位置：<a href="https://www.jb51.net/">首页</a> → <a href="https://www.jb51.net/list/index_84.htm" title="软件编程">软件编程</a> → <a href="https://www.jb51.net/list/list_207_1.htm" title="java">java</a> → JVM GC日志打印参数
                </div>
                <div class="search">
                    <form action="https://www.jb51.net/do/search.php" target="_blank">
                        <input type="hidden" name="s" value="10520733385329581432">
                        <input type="hidden" name="ie" value="utf-8">
                        <input type="text" name="q" class="searchinput" placeholder="请输入关键词">
                        <input type="submit" value=" " class="search-button">
                    </form>
                </div>
            </div>

            <div id="main" class="clearfix" style="height: auto !important;">
                <div class="main-left" style="height: auto !important;">
                    <div id="article" style="height: auto !important;">
                        <h1 class="title">使用JVM常用GC日志打印参数</h1>
                        <div class="info"> &nbsp;更新时间：2021年09月14日 08:40:11 &nbsp; 作者：NetWhite &nbsp; </div>
                        <div class="lbd clearfix"></div>
                        <div class="summary">这篇文章主要介绍了使用JVM常用GC日志打印参数，具有很好的参考价值，希望对大家有所帮助。如有错误或未考虑完全的地方，望不吝赐教</div>
                        <div class="lbd clearfix"><script async="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(8).txt"></script><ins class="adsbygoogle" style="display: block; height: 280px;" data-ad-client="ca-pub-6384567588307613" data-ad-slot="3921475131" data-ad-format="auto" data-adsbygoogle-status="done" data-ad-status="filled"><ins id="aswift_1_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 280px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_1_anchor" style="border: none; height: 280px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block; overflow: visible;"><iframe id="aswift_1" name="aswift_1" style="left:0;position:absolute;top:0;border:0;width:820px;height:280px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="820" height="280" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads.html" data-google-container-id="a!2" data-google-query-id="CNu2vJ6J5_cCFZQPXAodVj8Big" data-load-complete="true"></iframe></ins></ins></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div>
                        <div id="content">
                            <div id="navCategory"><h5 class="catalogue">目录</h5><ul class="first_class_ul"><li><a href="https://www.jb51.net/article/222800.htm#_label0">JVM常用GC日志打印参数</a></li><ul class="second_class_ul"><li><a href="https://www.jb51.net/article/222800.htm#_lab2_0_0">1. PrintGC</a></li><li><a href="https://www.jb51.net/article/222800.htm#_lab2_0_1">2. PrintGCDetails</a></li><li><a href="https://www.jb51.net/article/222800.htm#_lab2_0_2">3. PrintGCTimeStamps</a></li><li><a href="https://www.jb51.net/article/222800.htm#_lab2_0_3">4. PrintGCApplicationStoppedTime</a></li><li><a href="https://www.jb51.net/article/222800.htm#_lab2_0_4">5. PrintGCApplicationConcurrentTime</a></li><li><a href="https://www.jb51.net/article/222800.htm#_lab2_0_5">6. PrintHeapAtGC</a></li></ul><li><a href="https://www.jb51.net/article/222800.htm#_label1">JVM打印GC日志到文件</a></li><ul class="second_class_ul"></ul></ul></div><p class="maodian"><a name="_label0"></a></p><h2 id="heading-0">JVM常用GC日志打印参数</h2>
<p class="maodian"><a name="_lab2_0_0"></a></p><h3 id="heading-1">1. PrintGC</h3>
<p>最简单的GC参数。</p>
<p>启用配置：-XX:+PrintGC</p>
<p>日志如下：</p>
<p style="text-align: center"><img class="has" alt="" width="361" height="91" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836191.png"></p>
<p>根据上面红色方框内的数字1、2、3、4、5说明，1是GC类型，GC:minor GC(young gc),Full GC：major GC,2是GC前堆内存使用量，3是GC后堆内存使用量，4是堆内存总量，5是本次GC耗时</p>
<p class="maodian"><a name="_lab2_0_1"></a></p><h3 id="heading-2">2. PrintGCDetails</h3>
<p>打印GC的详细信息</p>
<p>启用配置：-XX:+PrintGCDetails</p>
<p>日志如下：</p>
<p style="text-align: center"><img class="has" alt="" width="1200" height="71" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836192.png" style="width: 800px; height: auto;"></p>
<p>不同的垃圾回收器，GC日志（表示年代的词）可能会不一样， 和第一节中差不多，-&gt;前的是GC前堆内存使用量，-&gt;后面是GC后堆内存使用量，括号内是堆内存总量。</p>
<p>对于这个日志，PSYoungGen：年轻代，ParOldGen：老年代，PSPermGen：持久代（方法区）</p>
<p>Times: user表示用户态CPU耗时，sys表示系统CPU耗时，real表示GC实际耗时</p>
<p class="maodian"><a name="_lab2_0_2"></a></p><h3 id="heading-3">3. PrintGCTimeStamps</h3>
<p>GC时，打印进程启动到现在经历的时间</p>
<p>启用配置：-XX:+PrintGCTimeStamps</p>
<p>日志如下：</p>
<p style="text-align: center"><img class="has" alt="" width="367" height="91" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836193.png"></p>
<p>红色方框内的时间，表示进程启动到现在经历的时间</p>
<p>该参数需要配合其它GC日志打印参数一起使用，如下</p>
<p style="text-align: center"><img class="has" alt="" width="282" height="36" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836194.png"></p>
<p style="background-color: rgb(235, 235, 235); text-align: center; padding: 0px; margin: 20px 0px;"><img style="border:none;padding:0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/javajsmb.png" alt="Java技术迷"></p><p class="maodian"><a name="_lab2_0_3"></a></p><h3 id="heading-4">4. PrintGCApplicationStoppedTime</h3>
<p>打印GC时，应用停顿时间</p>
<p>启用配置：-XX:+PrintGCApplicationStoppedTime</p>
<p>日志如下：</p>
<p style="text-align: center"><img class="has" alt="" width="532" height="67" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836195.png"></p>
<p class="maodian"><a name="_lab2_0_4"></a></p><h3 id="heading-5">5. PrintGCApplicationConcurrentTime</h3>
<p>GC时打印应用执行时间</p>
<p>启用配置：-XX:+PrintGCApplicationConcurrentTime</p>
<p>日志如下：</p>
<p style="text-align: center"><img class="has" alt="" width="294" height="61" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836196.png"></p>
<p class="maodian"><a name="_lab2_0_5"></a></p><h3 id="heading-6">6. PrintHeapAtGC</h3>
<p>每次GC前后打印堆信息</p>
<p>启用配置：-XX:+PrintHeapAtGC</p>
<p>日志如下：</p>
<p style="text-align: center"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836207.jpg"></p>
<p>p.s. 上面几个参数可同时配合使用，同时使用PrintGC和PrintGCDetails时，打印的详细信息。</p>
<p>GC日志信息默认是打印到控制台，如果需要输出到文件，可以使用参数：-Xloggc:gc.log,gc.log是要输出的日志文件，路径为应用启动路径的相对路径下，也可以使用绝对路径。</p>
<p class="maodian"><a name="_label1"></a></p><h2 id="heading-7">JVM打印GC日志到文件</h2>
<div class="jb51code">
<div><div id="highlighter_974111" class="syntaxhighlighter  java"><div class="toolbar"><span><a href="https://www.jb51.net/article/222800.htm#" class="toolbar_item command_help help">?</a></span></div><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="gutter"><div class="line number1 index0 alt2">1</div><div class="line number2 index1 alt1">2</div><div class="line number3 index2 alt2">3</div><div class="line number4 index3 alt1">4</div><div class="line number5 index4 alt2">5</div><div class="line number6 index5 alt1">6</div><div class="line number7 index6 alt2">7</div><div class="line number8 index7 alt1">8</div><div class="line number9 index8 alt2">9</div><div class="line number10 index9 alt1">10</div><div class="line number11 index10 alt2">11</div></td><td class="code"><div class="container"><div class="line number1 index0 alt2"><code class="java keyword">package</code> <code class="java plain">gc;</code></div><div class="line number2 index1 alt1"><code class="java keyword">public</code> <code class="java keyword">class</code> <code class="java plain">GcTest {</code></div><div class="line number3 index2 alt2"><code class="java spaces">&nbsp;</code><code class="java keyword">private</code> <code class="java keyword">static</code> <code class="java keyword">final</code> <code class="java keyword">int</code> <code class="java plain">_1MB= </code><code class="java value">1024</code> <code class="java plain">* </code><code class="java value">1024</code><code class="java plain">;</code></div><div class="line number4 index3 alt1"><code class="java spaces">&nbsp;</code><code class="java keyword">public</code> <code class="java keyword">static</code> <code class="java keyword">void</code> <code class="java plain">main(String[] args) {</code></div><div class="line number5 index4 alt2"><code class="java spaces">&nbsp;&nbsp;</code><code class="java keyword">byte</code><code class="java plain">[] a1, a2, a3, a4;</code></div><div class="line number6 index5 alt1"><code class="java spaces">&nbsp;&nbsp;</code><code class="java plain">a1 = </code><code class="java keyword">new</code> <code class="java keyword">byte</code><code class="java plain">[</code><code class="java value">2</code> <code class="java plain">* _1MB];</code></div><div class="line number7 index6 alt2"><code class="java spaces">&nbsp;&nbsp;</code><code class="java plain">a2 = </code><code class="java keyword">new</code> <code class="java keyword">byte</code><code class="java plain">[</code><code class="java value">2</code> <code class="java plain">* _1MB];</code></div><div class="line number8 index7 alt1"><code class="java spaces">&nbsp;&nbsp;</code><code class="java plain">a3 = </code><code class="java keyword">new</code> <code class="java keyword">byte</code><code class="java plain">[</code><code class="java value">2</code> <code class="java plain">* _1MB];</code></div><div class="line number9 index8 alt2"><code class="java spaces">&nbsp;&nbsp;</code><code class="java plain">a4 = </code><code class="java keyword">new</code> <code class="java keyword">byte</code><code class="java plain">[</code><code class="java value">2</code> <code class="java plain">* _1MB];</code></div><div class="line number10 index9 alt1"><code class="java spaces">&nbsp;</code><code class="java plain">}</code></div><div class="line number11 index10 alt2"><code class="java plain">}</code></div></div></td></tr></tbody></table></div></div>
<div class="codetool" id="codetool"><a href="javascript:;" class="selall" title="全选"></a><a href="javascript:;" class="copy" title="复制java代码"></a><div class="code_n"><textarea></textarea></div></div></div>
<p>打印GC日志</p>
<blockquote>
<p>D:\study\workspace\jvm\src&gt;java -Xms20M -Xmx20M -Xmn10M -XX:Survivor</p>
<p>Ratio=8 -XX:+PrintGCDetails -Xloggc:d:\gc.log gc.GcTest</p>
</blockquote>
<p>以上为个人经验，希望能给大家一个参考，也希望大家多多支持脚本之家。</p>
                            
                            <div class="art_xg">
                                <b>您可能感兴趣的文章:</b><ul><li><a href="https://www.jb51.net/article/84636.htm" title="JVM Tomcat性能实战(推荐)" target="_blank">JVM Tomcat性能实战(推荐)</a></li><li><a href="https://www.jb51.net/article/209806.htm" title="java虚拟机之JVM调优详解" target="_blank">java虚拟机之JVM调优详解</a></li><li><a href="https://www.jb51.net/article/204282.htm" title="JVM性能调优实战:让你的IntelliJ Idea纵享丝滑" target="_blank">JVM性能调优实战:让你的IntelliJ Idea纵享丝滑</a></li></ul>
                            </div>

                        </div>
                        <!--endmain-->
                        <div class="lbd_bot clearfix"><script async="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(8).txt"></script><ins class="adsbygoogle" style="display: block; height: 280px;" data-ad-client="ca-pub-6384567588307613" data-ad-slot="6445926239" data-ad-format="auto" data-full-width-responsive="true" data-adsbygoogle-status="done" data-ad-status="filled"><ins id="aswift_2_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 280px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_2_anchor" style="border: none; height: 280px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block; overflow: visible;"><iframe id="aswift_2" name="aswift_2" style="left:0;position:absolute;top:0;border:0;width:820px;height:280px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="820" height="280" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(1).html" data-google-container-id="a!3" data-google-query-id="CNiK_5-J5_cCFYy3vAodnvIP3Q" data-load-complete="true"></iframe></ins></ins></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div><div id="ewm"><div class="jb51ewm"><div class="fl"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/jb51ewm.png"></div><div class="fr"><p>微信公众号搜索 “ <span>脚本之家</span> ” ，选择关注</p><p>程序猿的那些事、送书等活动等着你</p></div></div></div><p>原文链接：https://blog.csdn.net/x763795151/article/details/89981686</p>
                        <div class="tags clearfix">
                            <i class="icon-tag"></i>
                            <ul class="meta-tags">
                                <li class="tag item"><a href="http://common.jb51.net/tag/JVM/1.htm" target="_blank" title="搜索关于JVM的文章" rel="nofollow">JVM</a></li>
<li class="tag item"><a href="http://common.jb51.net/tag/GC/1.htm" target="_blank" title="搜索关于GC的文章" rel="nofollow">GC</a></li>
<li class="tag item"><a href="http://common.jb51.net/tag/%E6%97%A5%E5%BF%97/1.htm" target="_blank" title="搜索关于日志的文章" rel="nofollow">日志</a></li>
<li class="tag item"><a href="http://common.jb51.net/tag/%E6%89%93%E5%8D%B0%E5%8F%82%E6%95%B0/1.htm" target="_blank" title="搜索关于打印参数的文章" rel="nofollow">打印参数</a></li>

                            </ul>
                        </div>
                        <div class="lbd clearfix">
                            <span id="art_down" class="jbTestPos"><div class="_sgkue8kksaf"><iframe id="iframeu4846790_0" name="iframeu4846790_0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom.html" width="820" height="250" scrolling="no" frameborder="0"></iframe></div></span>
                        </div>
                        <div id="shoucang"></div>
                        <div class="xgcomm clearfix">
                            <h2>相关文章</h2>
                            <ul><li class="lbd clearfix"><span id="art_xg" class="jbTestPos"><div class="_27mv7tno5a3"><iframe id="iframeu4806172_0" name="iframeu4806172_0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom(1).html" width="820" height="120" scrolling="no" frameborder="0"></iframe></div></span></li><li><div class="item-inner"><a href="https://www.jb51.net/article/92273.htm" title="Java 中ConcurrentHashMap的实现" class="img-wrap" target="_blank"> <img alt="Java 中ConcurrentHashMap的实现" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg0.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/92273.htm" title="Java 中ConcurrentHashMap的实现">Java 中ConcurrentHashMap的实现</a></p><div class="item-info"><div class="js">本文主要介绍Java 中ConcurrentHashMap的实现，这里整理了详细的资料，及简单实例代码，有兴趣的小伙伴可以参考下</div><span class="lbtn" style="float:right"> 2016-09-09 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/209950.htm" title="springboot结合mysql主从来实现读写分离的方法示例" class="img-wrap" target="_blank"> <img alt="springboot结合mysql主从来实现读写分离的方法示例" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg1.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/209950.htm" title="springboot结合mysql主从来实现读写分离的方法示例">springboot结合mysql主从来实现读写分离的方法示例</a></p><div class="item-info"><div class="js">这篇文章主要介绍了springboot结合mysql主从来实现读写分离的方法示例，文中通过示例代码介绍的非常详细，对大家的学习或者工作具有一定的参考学习价值，需要的朋友们下面随着小编来一起学习学习吧</div><span class="lbtn" style="float:right"> 2021-04-04 </span></div></div></div></div></li><li class="google-auto-placed" style="clear: none; padding: 0px; margin: 5px 0px; box-sizing: content-box; width: 100%; height: 109px;"><ins data-ad-type="text" data-native-settings-key="af1b586" class="adsbygoogle adsbygoogle-noablate" data-ad-client="ca-pub-6384567588307613" data-adsbygoogle-status="done" style="width: 100%; height: 109px; display: inline-block;" data-ad-status="filled"><ins id="aswift_7_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 109px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_7_anchor" style="border: none; height: 109px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block;"><iframe id="aswift_7" name="aswift_7" style="left:0;position:absolute;top:0;border:0;width:820px;height:109px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="820" height="109" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(2).html" data-google-container-id="a!8" data-google-query-id="CPS5jOWJ5_cCFQbhvAodWZYLKg" data-load-complete="true"></iframe></ins></ins></ins></li><li class="google-auto-placed" style="clear: none; padding: 0px; margin: 5px 0px; box-sizing: content-box; width: 100%; height: 109px;"><ins data-ad-type="text" data-native-settings-key="b7a481a4" class="adsbygoogle adsbygoogle-noablate" data-ad-client="ca-pub-6384567588307613" data-adsbygoogle-status="done" style="width: 100%; height: 109px; display: inline-block;" data-ad-status="filled"><ins id="aswift_8_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 109px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_8_anchor" style="border: none; height: 109px; width: 820px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block;"><iframe id="aswift_8" name="aswift_8" style="left:0;position:absolute;top:0;border:0;width:820px;height:109px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="820" height="109" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(3).html" data-google-container-id="a!9" data-google-query-id="CJq4leWJ5_cCFYoDXAodkxAGKg" data-load-complete="true"></iframe></ins></ins></ins></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/105882.htm" title="net.sf.json.JSONObject 为null 的判断方法" class="img-wrap" target="_blank"> <img alt="net.sf.json.JSONObject 为null 的判断方法" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg2.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/105882.htm" title="net.sf.json.JSONObject 为null 的判断方法">net.sf.json.JSONObject 为null 的判断方法</a></p><div class="item-info"><div class="js">下面小编就为大家带来一篇net.sf.json.JSONObject 为null 的判断方法。小编觉得挺不错的，现在就分享给大家，也给大家做个参考。一起跟随小编过来看看吧</div><span class="lbtn" style="float:right"> 2017-02-02 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/73832.htm" title="Java编程中void方法的学习教程" class="img-wrap" target="_blank"> <img alt="Java编程中void方法的学习教程" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg3.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/73832.htm" title="Java编程中void方法的学习教程">Java编程中void方法的学习教程</a></p><div class="item-info"><div class="js">这篇文章主要介绍了Java编程中void方法的学习教程,包括对void方法进行单元测试,需要的朋友可以参考下</div><span class="lbtn" style="float:right"> 2015-10-10 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/109289.htm" title="史上最简单的MyBatis动态SQL入门示例代码" class="img-wrap" target="_blank"> <img alt="史上最简单的MyBatis动态SQL入门示例代码" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg4.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/109289.htm" title="史上最简单的MyBatis动态SQL入门示例代码">史上最简单的MyBatis动态SQL入门示例代码</a></p><div class="item-info"><div class="js">动态sql，可以根据用户对字段选择和输入，动态生成一条sql执行。接下来通过本文给大家分享MyBatis动态SQL入门示例代码，一起看看吧</div><span class="lbtn" style="float:right"> 2017-03-03 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/231501.htm" title="Java图片批量压缩像素的实现方法" class="img-wrap" target="_blank"> <img alt="Java图片批量压缩像素的实现方法" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg5.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/231501.htm" title="Java图片批量压缩像素的实现方法">Java图片批量压缩像素的实现方法</a></p><div class="item-info"><div class="js">我们开发中经常会遇到原图清晰度高,考虑到效率问题,我们不可能拿原图进行显示,服务端一般都要对图片进行压缩处理,然后发送给客户端显示,这篇文章主要给大家介绍了关于Java图片批量压缩像素的实现方法,需要的朋友可以参考下</div><span class="lbtn" style="float:right"> 2021-12-12 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/214417.htm" title="基于@RequestBody和@ResponseBody及Stringify()的作用说明" class="img-wrap" target="_blank"> <img alt="基于@RequestBody和@ResponseBody及Stringify()的作用说明" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg6.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/214417.htm" title="基于@RequestBody和@ResponseBody及Stringify()的作用说明">基于@RequestBody和@ResponseBody及Stringify()的作用说明</a></p><div class="item-info"><div class="js">这篇文章主要介绍了基于@RequestBody和@ResponseBody及Stringify()的作用说明，具有很好的参考价值，希望对大家有所帮助。如有错误或未考虑完全的地方，望不吝赐教</div><span class="lbtn" style="float:right"> 2021-06-06 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/191026.htm" title="Jar包冲突问题原理及解决方案" class="img-wrap" target="_blank"> <img alt="Jar包冲突问题原理及解决方案" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg7.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/191026.htm" title="Jar包冲突问题原理及解决方案">Jar包冲突问题原理及解决方案</a></p><div class="item-info"><div class="js">这篇文章主要介绍了Jar包冲突问题原理及解决方案,文中通过示例代码介绍的非常详细，对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下</div><span class="lbtn" style="float:right"> 2020-07-07 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/123127.htm" title="mybatis如何使用Java8的日期LocalDate和LocalDateTime详解" class="img-wrap" target="_blank"> <img alt="mybatis如何使用Java8的日期LocalDate和LocalDateTime详解" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg8.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/123127.htm" title="mybatis如何使用Java8的日期LocalDate和LocalDateTime详解">mybatis如何使用Java8的日期LocalDate和LocalDateTime详解</a></p><div class="item-info"><div class="js">这篇文章主要给大家介绍了关于mybatis如何使用Java8的日期LocalDate和LocalDateTime的相关资料，文中通过示例代码介绍的非常详细，对大家的学习或者工作具有一定的参考学习价值，需要的朋友们下面随着小编来一起学习学习吧。</div><span class="lbtn" style="float:right"> 2017-09-09 </span></div></div></div></div></li>
<li><div class="item-inner"><a href="https://www.jb51.net/article/118935.htm" title="Java JDK动态代理（AOP）的实现原理与使用详析" class="img-wrap" target="_blank"> <img alt="Java JDK动态代理（AOP）的实现原理与使用详析" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bcimg9.png"> </a><div class="rbox"><div class="rbox-inner"><p><a class="link title" target="_blank" href="https://www.jb51.net/article/118935.htm" title="Java JDK动态代理（AOP）的实现原理与使用详析">Java JDK动态代理（AOP）的实现原理与使用详析</a></p><div class="item-info"><div class="js">所谓代理，就是一个人或者一个机构代表另一个人或者另一个机构采取行动。下面这篇文章主要给大家介绍了关于Java JDK动态代理（AOP）实现原理与使用的相关资料，文中通过示例代码介绍的非常详细，需要的朋友可以参考借鉴，下面来一起看看吧。</div><span class="lbtn" style="float:right"> 2017-07-07 </span></div></div></div></div></li>
</ul>
                        </div>
                        <div class="lbd clearfix mt5">
                            <span id="art_down2" class="jbTestPos"><div class="_dy7otw231l"><iframe id="iframeu5010600_0" name="iframeu5010600_0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom(2).html" width="820" height="120" scrolling="no" frameborder="0"></iframe></div></span>
                        </div>
                        <a href="https://www.jb51.net/article/222800.htm#comments"></a>
                        <div id="comments">
                            <h2>最新评论</h2>
                            <div class="pd5">
                                <div id="SOHUCS" sid="art_222800"></div>
                            </div>
                        </div>
                    </div>
                    <!--endborder-->
                </div>
                <!--end fl-->

                <div class="main-right" style="height: auto !important;">
                    <div id="sidebar-right" style="height: auto !important;">
                        <div class="r300 clearfix"><span id="side_up" class="jbTestPos"><div class="_yrco23fj9r"><iframe id="iframeu6561626_0" name="iframeu6561626_0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom(3).html" width="300" height="250" scrolling="no" frameborder="0"></iframe></div></span></div><div class="google-auto-placed" style="width: 100%; height: auto; clear: none; text-align: center;"><ins data-ad-format="auto" class="adsbygoogle adsbygoogle-noablate" data-ad-client="ca-pub-6384567588307613" data-adsbygoogle-status="done" style="display: block; margin: 10px auto; background-color: transparent; height: 250px;" data-ad-status="filled"><ins id="aswift_4_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 250px; width: 330px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_4_anchor" style="border: none; height: 250px; width: 330px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block; overflow: visible;"><iframe id="aswift_4" name="aswift_4" style="left:0;position:absolute;top:0;border:0;width:330px;height:250px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="330" height="250" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(4).html" data-google-container-id="a!5" data-google-query-id="CJHS1p6J5_cCFQ6zvAodLrsE_A" data-load-complete="true"></iframe></ins></ins></ins></div>
                        <div class="sidebox-recomm"></div>
                        <div class="r300 clearfix"><div class="blank10"></div><a href="https://www.hncloud.com/activity_register.html?p=jb51&amp;register" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/huana300_331.gif" alt="" width="300" height="100"></a></div>
                        <div class="sidebox bor-blue" style="height: auto !important;">
                            <div class="bor-default pb10">
                                <h4 class="blue">大家感兴趣的内容</h4>
                                <ul class="newsList newList-in">
                                    <li><em class="no1">1</em><a href="https://www.jb51.net/article/184631.htm" title="IntelliJ IDEA 2020最新激活码(亲测有效，可激活至 2089 年)" target="_blank">IntelliJ IDEA 2020最新激活码(亲测有效，可</a></li><li><em class="no2">2</em><a href="https://www.jb51.net/article/197138.htm" title="IntelliJ IDEA 2020.2.3永久破解激活教程(亲测有效)" target="_blank">IntelliJ IDEA 2020.2.3永久破解激活教程</a></li><li><em class="no3">3</em><a href="https://www.jb51.net/article/46010.htm" title="java使double保留两位小数的多方法 java保留两位小数" target="_blank">java使double保留两位小数的多方法 java保留两位</a></li><li><em class="no4">4</em><a href="https://www.jb51.net/article/195962.htm" title="IDEA2021.2永久激活码最新超详细(激活到2099)" target="_blank">IDEA2021.2永久激活码最新超详细(激活到2099)</a></li><li><em class="no5">5</em><a href="https://www.jb51.net/article/48304.htm" title="JAVA8 十大新特性详解" target="_blank">JAVA8 十大新特性详解</a></li><li><em class="no6">6</em><a href="https://www.jb51.net/article/195292.htm" title="IDEA 2020版本最新破解教程可激活至2089年(推荐)" target="_blank">IDEA 2020版本最新破解教程可激活至2089年(推荐)</a></li><li><em class="no7">7</em><a href="https://www.jb51.net/article/193606.htm" title="2020.2 IntelliJ IDEA激活与IDEA2020.2破解详细教程" target="_blank">2020.2 IntelliJ IDEA激活与IDEA202</a></li><li><em class="no8">8</em><a href="https://www.jb51.net/article/34888.htm" title="java.net.SocketException: Connection reset 解决方法" target="_blank">java.net.SocketException: Conn</a></li><li><em class="no9">9</em><a href="https://www.jb51.net/article/204399.htm" title="IDEA 2020.3最新永久激活码(免费激活到 2099 年,亲测有效)" target="_blank">IDEA 2020.3最新永久激活码(免费激活到 2099 </a></li><li><em class="no10">10</em><a href="https://www.jb51.net/article/47062.htm" title="java写入文件的几种方法分享" target="_blank">java写入文件的几种方法分享</a></li>
                                </ul>
                            </div><div class="google-auto-placed" style="width: 100%; height: auto; clear: none; text-align: center;"><ins data-ad-format="auto" class="adsbygoogle adsbygoogle-noablate" data-ad-client="ca-pub-6384567588307613" data-adsbygoogle-status="done" style="display: block; margin: 10px auto; background-color: transparent; height: 600px;" data-ad-status="filled"><ins id="aswift_5_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 600px; width: 300px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_5_anchor" style="border: none; height: 600px; width: 300px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block; overflow: visible;"><iframe id="aswift_5" name="aswift_5" style="left:0;position:absolute;top:0;border:0;width:300px;height:600px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="300" height="600" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(5).html" data-google-container-id="a!6" data-google-query-id="CIGU156J5_cCFQUEXAodh0QOig" data-load-complete="true"></iframe></ins></ins></ins></div>
                        </div>
                        <div class="r300 clearfix mt10"><span id="idctu" class="jbTestPos"><div class="_4ky6nho4tzv"><iframe id="iframeu6390620_0" name="iframeu6390620_0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom(4).html" width="300" height="250" scrolling="no" frameborder="0"></iframe></div><a href="https://www.henghost.com/act/2021newyear.html?jbzj" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/henghost300.png" width="300" height="100"></a><div class="blank10"></div><a href="https://www.50vm.com/server.html?pg=34" target="_blank"><img alt="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/99idc300.jpg" width="300" height="100"></a></span></div><div class="google-auto-placed" style="width: 100%; height: auto; clear: none; text-align: center;"><ins data-ad-format="auto" class="adsbygoogle adsbygoogle-noablate" data-ad-client="ca-pub-6384567588307613" data-adsbygoogle-status="done" style="display: block; margin: 10px auto; background-color: transparent; height: 250px;" data-ad-status="filled"><ins id="aswift_6_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 250px; width: 330px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_6_anchor" style="border: none; height: 250px; width: 330px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block; overflow: visible;"><iframe id="aswift_6" name="aswift_6" style="left:0;position:absolute;top:0;border:0;width:330px;height:250px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="330" height="250" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(6).html" data-google-container-id="a!7" data-google-query-id="CLyM156J5_cCFcwKXAod_RYOyg" data-load-complete="true"></iframe></ins></ins></ins></div>
                        <div class="sidebox bor-blue">
                            <div class="bor-default pb10">
                                <h4 class="blue">最近更新的内容</h4>
                                <ul class="newsListA">
                                    <li><a href="https://www.jb51.net/article/185831.htm" title="Java Volatile关键字同步机制详解" target="_blank">Java Volatile关键字同步机制详解</a></li><li><a href="https://www.jb51.net/article/173679.htm" title="SpringBoot+Redis执行lua脚本的方法步骤" target="_blank">SpringBoot+Redis执行lua脚本的方法步骤</a></li><li><a href="https://www.jb51.net/article/63972.htm" title="Java并发编程之volatile变量介绍" target="_blank">Java并发编程之volatile变量介绍</a></li><li><a href="https://www.jb51.net/article/226560.htm" title="Mybatis动态SQL的示例代码" target="_blank">Mybatis动态SQL的示例代码</a></li><li><a href="https://www.jb51.net/article/230551.htm" title="关于java中线程安全问题详解" target="_blank">关于java中线程安全问题详解</a></li><li><a href="https://www.jb51.net/article/123119.htm" title="Character.UnicodeBlock中cjk的说明详解" target="_blank">Character.UnicodeBlock中cjk的说明详解</a></li><li><a href="https://www.jb51.net/article/88946.htm" title="深入理解Java的接口与抽象类" target="_blank">深入理解Java的接口与抽象类</a></li><li><a href="https://www.jb51.net/article/216608.htm" title="解决mybatis-plus 查询耗时慢的问题" target="_blank">解决mybatis-plus 查询耗时慢的问题</a></li><li><a href="https://www.jb51.net/article/52718.htm" title="Java中常用的6种排序算法详细分解" target="_blank">Java中常用的6种排序算法详细分解</a></li><li><a href="https://www.jb51.net/article/162631.htm" title="深入学习java位运算的基础知识" target="_blank">深入学习java位运算的基础知识</a></li>
                                </ul>
                            </div>
                        </div>
                        <div class="r300 clearfix mt10"><div class="idc3"><a href="http://tools.jb51.net/" target="_blank"><h1>在线工具</h1><span>代码格式化等</span> </a><a href="https://www.jb51.net/s/idc/" target="_blank"><h1>高防主机</h1><span>600G 防护</span> </a><a href="http://www.33ip.com/" target="_blank"><h1>枫信科技</h1><span>IDC服务商</span> </a></div></div>
                        <div class="sidebox bor-blue">
                            <div class="bor-default pb10">
                                <h4 class="blue">常用在线小工具</h4>
                                <ul class="newsListA"><li><a href="http://tools.jb51.net/code/css" target="_blank"><font color="red">CSS代码工具</font></a></li><li><a href="http://tools.jb51.net/code/js" target="_blank"><font color="red">JavaScript代码格式化工具</font></a></li><li><a href="http://tools.jb51.net/code/xmlformat" target="_blank">在线XML格式化/压缩工具</a></li><li><a href="http://tools.jb51.net/code/phpformat" target="_blank"><font color="red">php代码在线格式化美化工具</font></a></li><li><a href="http://tools.jb51.net/code/sqlcodeformat" target="_blank">sql代码在线格式化美化工具</a></li><li><a href="http://tools.jb51.net/transcoding/html_transcode" target="_blank">在线HTML转义/反转义工具</a></li><li><a href="http://tools.jb51.net/code/json" target="_blank">在线JSON代码检验/检验/美化/格式化</a></li><li><a href="http://tools.jb51.net/regex/javascript" target="_blank">JavaScript正则在线测试工具</a></li><li><a href="http://tools.jb51.net/transcoding/jb51qrcode" target="_blank">在线生成二维码工具(加强版)</a></li><li><a href="http://tools.jb51.net/" target="_blank">更多在线工具</a></li></ul>
                            </div>
                        </div>
                        <div class="r300 clearfix mt10"><a href="http://www.tuidc.com/indexhd.html" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/tengyou300.gif" width="300" height="100"></a><div class="blank10"></div><a href="https://www.yiyangidc.com/" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/yyqz300.gif" alt="服务器" width="300" height="100"></a><div class="blank10"></div><a href="http://www.boluoyun.com/" target="_blank"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/bly300.jpg" alt="云服务器" width="300" height="100"></a></div>
                        <div class="mt10 rFixedBox" style="position: static; top: 0px;">
                            <div class="r300 clearfix"><script async="" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/f(9).txt" crossorigin="anonymous" data-checked-head="true"></script><ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-6384567588307613" data-ad-slot="6500564943" data-adsbygoogle-status="done" data-ad-status="filled"><ins id="aswift_3_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 250px; width: 300px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_3_anchor" style="border: none; height: 250px; width: 300px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block;"><iframe id="aswift_3" name="aswift_3" style="left:0;position:absolute;top:0;border:0;width:300px;height:250px" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="300" height="250" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(7).html" data-google-container-id="a!4" data-google-query-id="CIzjvJ6J5_cCFdECXAodzDQFDQ" data-load-complete="true"></iframe></ins></ins></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div>
                            <div class="r300 clearfix mt10">
                                <span id="rbbd" class="jbTestPos"><div class="_k97irerqrbq"><iframe id="iframeu4519613_0" name="iframeu4519613_0" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ncom(5).html" width="300" height="250" scrolling="no" frameborder="0"></iframe></div></span>
                            </div>
                        </div>
                    </div>
                </div>
                <!--end fr-->
            </div>
        </div>
        <!--share start-->
        <div id="right-share" class="lefts" style="display: block;">
            <div class="right-share jb-share" id="jb-share">
                <a class="rshare-weixin" title="">微信</a>
                <a rel="nofollow" class="rshare-qzone" target="_blank" href="http://tougao.jb51.net/" title="投稿">投稿</a>
                <a rel="nofollow" class="rshare-sqq" target="_blank" href="https://task.jb51.net/" title="脚本任务">脚本任务</a>
                <a rel="nofollow" class="rshare-tsina" target="_blank" href="http://tools.jb51.net/" title="在线工具">在线工具</a>
            </div>
            <a class="rshare-top" onclick="javascript:;"></a>
            <div id="weixin-code" class="hide">
                <div class="popup_weixin_head">
                    <p>关注微信公众号</p>
                    <div id="code"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/erwm.jpg" alt="扫一扫" width="100" height="100"></div>
                </div>
            </div>
        </div>
        <!--share end-->
        <!-- 目录容器 -->
        <div class="AutoCatelog">
            <div class="AutoCatelogLlist" id="CatelogList" style="width: 331.5px; display: none;"><p>目录</p><ul><li><div class="AutoCatelogLink AutoCatelog_l2     " title="JVM常用GC日志打印参数" data-target="heading-0">JVM常用GC日志打印参数</div><ul><li><div class="AutoCatelogLink AutoCatelog_l3     " title="1. PrintGC" data-target="heading-1">1. PrintGC</div></li><li><div class="AutoCatelogLink AutoCatelog_l3     " title="2. PrintGCDetails" data-target="heading-2">2. PrintGCDetails</div></li><li><div class="AutoCatelogLink AutoCatelog_l3    " title="3. PrintGCTimeStamps" data-target="heading-3">3. PrintGCTimeStamps</div></li><li><div class="AutoCatelogLink AutoCatelog_l3    " title="4. PrintGCApplicationStoppedTime" data-target="heading-4">4. PrintGCApplicationStoppedTime</div></li><li><div class="AutoCatelogLink AutoCatelog_l3    " title="5. PrintGCApplicationConcurrentTime" data-target="heading-5">5. PrintGCApplicationConcurrentTime</div></li><li><div class="AutoCatelogLink AutoCatelog_l3   " title="6. PrintHeapAtGC" data-target="heading-6">6. PrintHeapAtGC</div></li></ul></li><li><div class="AutoCatelogLink AutoCatelog_l2 " title="JVM打印GC日志到文件" data-target="heading-7">JVM打印GC日志到文件</div></li></ul></div>
        </div>
    </div>
    <!--end content-->
    <div id="footer">
        <div class="footer-bottom">
            <p>
                <a rel="nofollow" href="https://www.jb51.net/about.htm" target="_blank">关于我们</a> -
                <a rel="nofollow" href="https://www.jb51.net/support.htm" target="_blank">广告合作</a> -
                <a rel="nofollow" href="https://www.jb51.net/linkus.htm" target="_blank">联系我们</a> -
                <a rel="nofollow" href="https://www.jb51.net/sm.htm" target="_blank">免责声明</a> -
                <a rel="nofollow" href="https://www.jb51.net/sitemap.htm" target="_blank">网站地图</a> -
                <a rel="nofollow" href="tencent://message/?uin=461478385&amp;Site=https://www.jb51.net" target="_blank">投诉建议</a> -
                <a rel="nofollow" href="https://www.jb51.net/up.htm" target="_blank">在线投稿</a>
            </p>
            <p>©CopyRight 2006-2021 JB51.Net Inc All Rights Reserved. 脚本之家 版权所有</p>
        </div>
    </div>
    <!--end footer-->
    <script type="text/javascript">
        var ourl = "https://blog.csdn.net/x763795151/article/details/89981686";
    </script>
        <link type="text/css" rel="stylesheet" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/shCore.css">
    <link type="text/css" rel="Stylesheet" href="./使用JVM常用GC日志打印参数_java_脚本之家_files/shThemeDefault.css">
    <script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/shHighlighter.js.下载"></script>
    <script type="text/javascript">
        /*更多导航*/
        $("#nav p").hover(function() {
            $(this).addClass("hover")
        }, function() {
            $(this).removeClass("hover")
        });
        if (top.location != self.location) top.location = self.location;
        var varwindow = $(window);
        $('#content').find('img').each(function() {
            var img = this;
            if (img.width >= 800 && !$(this).hasClass("nohref")) {
                img.style.width = "800px";
                img.style.height = "auto";
            }
        });

        function sideFixed() {
            var scrolltop = document.body.scrollTop || document.documentElement.scrollTop;
            if (ww > 440) {
                if (550 <= scrolltop){
                    $('#right-share').slideDown();
                } else {
                    $('#right-share').slideUp();
                }
                if(suoyin=='ok'&&typeof cataloguetop=='number'){
                    if (cataloguetop <= scrolltop){
                        //$('#navCategory').css('visibility','hidden');
                        $('#CatelogList').fadeIn();
                    } else {
                        //$('#navCategory').css('visibility','visible');
                        $('#CatelogList').fadeOut();
                    }
                }
            }
        }
        var ww = varwindow.width();
        
        $('#right-share').addClass('lefts');
        if(suoyin=='ok'){
            $(window).resize(function() {
                show_suoyin();
            });
            var cataloguetop=$('#navCategory').offset().top+$('#navCategory').outerHeight();
            show_suoyin();
            $(function(){
                cataloguetop=$('#navCategory').offset().top+$('#navCategory').outerHeight();
            })
        }
        
        $(window).scroll(function() {
            //rFixedBox跟随滚动
            var h = varwindow.height();
            var top = varwindow.scrollTop();
            var rFixedBox = $('.rFixedBox').prev().offset();
            var fixedTop = rFixedBox.top;

            if (top >= fixedTop + 330) {
                var h1 = parseInt($('#content').children('.main').height());
                $('.rFixedBox').css({
                    'position': 'fixed',
                    'top': 0
                });
            } else {
                $('.rFixedBox').css({
                    'position': 'static',
                    'top': 0
                });
            }
            /* return true;*/

            /*右侧快捷菜单*/
            sideFixed();
        });
        $(window).scroll();
        
        $('.rshare-weixin').hover(function() {
            $('#weixin-code').removeClass('hide');
        }, function() {
            $('#weixin-code').addClass('hide');
        });
        /*二维码*/
        $('#right-share .rshare-top').on('click', function() {
            $('html,body').animate({
                'scrollTop': 0
            }, 500);
        });
        

        function show_suoyin() {
            var vww = 0;
            vww = varwindow.width();
            
            if (suoyin == "ok") {
                if (vww > 1600) {
                    var catell = document.getElementById("CatelogList");
                    
                    if (vww < 1920) {
                        catell.style.width = (((vww - 1200) / 2) - 20) + "px";
                    } else {
                        catell.style.width = "340px";
                    }

                    if (!window.suoyinobj) {
                        window.suoyinobj = new katelog({
                            contentEl: 'content',
                            catelogEl: 'CatelogList',
                            linkClass: 'AutoCatelogLink',
                            linkActiveClass: 'CatelogActive',
                            supplyTop: 20,
                            selector: ['h2', 'h3', 'h4'],
                            active: function(el) {
                                //console.log(el);
                            }
                        });
                    }
                } else {
                    window.suoyinobj = null;
                    //GenerateContentList();
                }
            }
        }

        SyntaxHighlighter.autoloader(
            'applescript            /jslib/syntaxhighlighter/scripts2022/shBrushAppleScript.js',
            'actionscript3 as3      /jslib/syntaxhighlighter/scripts2022/shBrushAS3.js',
            'bash shell             /jslib/syntaxhighlighter/scripts2022/shBrushBash.js',
            'coldfusion cf          /jslib/syntaxhighlighter/scripts2022/shBrushColdFusion.js',
            'cpp c                  /jslib/syntaxhighlighter/scripts2022/shBrushCpp.js',
            'obj-c objc             /jslib/syntaxhighlighter/scripts2022/shBrushObjC.js',
            'c# c-sharp csharp      /jslib/syntaxhighlighter/scripts2022/shBrushCSharp.js',
            'css                    /jslib/syntaxhighlighter/scripts2022/shBrushCss.js',
            'delphi pascal          /jslib/syntaxhighlighter/scripts2022/shBrushDelphi.js',
            'diff patch pas         /jslib/syntaxhighlighter/scripts2022/shBrushDiff.js',
            'erl erlang             /jslib/syntaxhighlighter/scripts2022/shBrushErlang.js',
            'groovy                 /jslib/syntaxhighlighter/scripts2022/shBrushGroovy.js',
            'haxe hx                /jslib/syntaxhighlighter/scripts2022/shBrushHaxe.js',
            'java                   /jslib/syntaxhighlighter/scripts2022/shBrushJava.js',
            'jfx javafx             /jslib/syntaxhighlighter/scripts2022/shBrushJavaFX.js',
            'js jscript javascript  /jslib/syntaxhighlighter/scripts2022/shBrushJScript.js',
            'perl pl                /jslib/syntaxhighlighter/scripts2022/shBrushPerl.js',
            'php                    /jslib/syntaxhighlighter/scripts2022/shBrushPhp.js',
            'text plain             /jslib/syntaxhighlighter/scripts2022/shBrushPlain.js',
            'py python              /jslib/syntaxhighlighter/scripts2022/shBrushPython.js',
            'ruby rails ror rb      /jslib/syntaxhighlighter/scripts2022/shBrushRuby.js',
            'scala                  /jslib/syntaxhighlighter/scripts2022/shBrushScala.js',
            'sql                    /jslib/syntaxhighlighter/scripts2022/shBrushSql.js',
            'vb vbnet               /jslib/syntaxhighlighter/scripts2022/shBrushVb.js',
            'ps powershell          /jslib/syntaxhighlighter/scripts2022/shBrushPowerShell.js',
            'xml xhtml xslt html    /jslib/syntaxhighlighter/scripts2022/shBrushXml.js',
			'go golang				/jslib/syntaxhighlighter/scripts2022/shBrushGo.js'
        );
        SyntaxHighlighter.all();
        (function() {
            var bp = document.createElement('script');
            var curProtocol = window.location.protocol.split(':')[0];
            if (curProtocol === 'https') {
                bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
            } else {
                bp.src = 'http://push.zhanzhang.baidu.com/push.js';
            }
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(bp, s);
        })();

    </script>
<script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/arc2019.js.下载"></script>
<div id="tongji">
<script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/tongji.js.下载"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/stat.php" language="JavaScript"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/core.php" charset="utf-8" type="text/javascript"></script><a href="https://www.cnzz.com/stat/website.php?web_id=1585378" target="_blank" title="站长统计">站长统计</a><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/stat(1).php" language="JavaScript"></script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/core(1).php" charset="utf-8" type="text/javascript"></script><a href="https://www.cnzz.com/stat/website.php?web_id=5488916" target="_blank" title="站长统计">站长统计</a>
</div>
<script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/viewer.min.js.下载"></script>
<script type="text/javascript">
if ('undefined' == typeof(window.Viewer)) {
        document.write(unescape("%3Cscr"+"ipt src='/skin/js/viewer.min.js' type='text/javascript'%3E%3C/scr"+"ipt%3E"));
    }
var viewer = new Viewer(document.getElementById('content'));
(function(){
var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba":"https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba";
document.write('<scr'+'ipt src="' + src + '" id="sozz"><\/scr'+'ipt>');
})();
</script><script src="./使用JVM常用GC日志打印参数_java_脚本之家_files/11.0.1.js.下载" id="sozz"></script><script charset="utf-8" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ab77b6ea7f3fbf79.js.下载"></script>
    <script type="text/javascript" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/pl.asp.下载"></script>
    <script type="application/ld+json">
        {
            "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld",
            "@id": "https://www.jb51.net/article/222800.htm",
            "appid": "1549322409310619",
            "title": "使用JVM常用GC日志打印参数",
            "description": "这篇文章主要介绍了使用JVM常用GC日志打印参数，具有很好的参考价值，希望对大家有所帮助。如有错误或未考虑完全的地方，望不吝赐教",
            "pubDate": "2021-09-14T08:40:11",
            "upDate": "2021-09-14T08:38:41"
        }

    </script>



<script id="bs-cm" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/cm.js.下载" async="async" defer="defer"></script><ins class="adsbygoogle adsbygoogle-noablate" data-adsbygoogle-status="done" style="display: none !important;" data-ad-status="unfilled"><ins id="aswift_0_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none; height: 0px; width: 0px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: inline-table;"><ins id="aswift_0_anchor" style="border: none; height: 0px; width: 0px; margin: 0px; padding: 0px; position: relative; visibility: visible; background-color: transparent; display: block;"><iframe id="aswift_0" name="aswift_0" style="left:0;position:absolute;top:0;border:0;width:undefinedpx;height:undefinedpx" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/ads(8).html" data-google-container-id="a!1" data-load-complete="true"></iframe></ins></ins></ins><iframe src="./使用JVM常用GC日志打印参数_java_脚本之家_files/aframe.html" width="0" height="0" style="display: none;"></iframe><div class="viewer-container viewer-backdrop viewer-fixed viewer-fade viewer-transition viewer-hide" touch-action="none" style="z-index: 2015;"><div class="viewer-canvas" data-viewer-action="hide"><img src="./使用JVM常用GC日志打印参数_java_脚本之家_files/202109140836192.png" alt="202109140836192.png" class="viewer-move viewer-transition" style="height: 0.71px; margin-left: 960px; margin-top: 394.5px; position: absolute; width: 12.38px; max-width: none !important; transform: none;"></div><div class="viewer-footer"><div class="viewer-title">202109140836192.png (1238 × 71)</div><div class="viewer-toolbar"><ul><li role="button" class="viewer-zoom-in" data-viewer-action="zoom-in"></li><li role="button" class="viewer-zoom-out" data-viewer-action="zoom-out"></li><li role="button" class="viewer-one-to-one" data-viewer-action="one-to-one"></li><li role="button" class="viewer-reset" data-viewer-action="reset"></li><li role="button" class="viewer-prev" data-viewer-action="prev"></li><li role="button" class="viewer-play viewer-large" data-viewer-action="play"></li><li role="button" class="viewer-next" data-viewer-action="next"></li><li role="button" class="viewer-rotate-left" data-viewer-action="rotate-left"></li><li role="button" class="viewer-rotate-right" data-viewer-action="rotate-right"></li><li role="button" class="viewer-flip-horizontal" data-viewer-action="flip-horizontal"></li><li role="button" class="viewer-flip-vertical" data-viewer-action="flip-vertical"></li></ul></div><div class="viewer-navbar"><ul class="viewer-list" style="width: 248px; transform: none;"></ul></div></div><div class="viewer-tooltip viewer-show viewer-fade viewer-transition">1%</div><div role="button" class="viewer-button viewer-close" data-viewer-action="mix"></div><div class="viewer-player"></div></div></body><iframe id="google_esf" name="google_esf" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/zrt_lookup.html" style="display: none;"></iframe><ins class="adsbygoogle adsbygoogle-noablate" data-adsbygoogle-status="done" style="display: none !important; width: 100vw !important; height: 100vh !important; inset: 0px auto auto 0px !important; clear: none !important; float: none !important; margin: 0px !important; max-height: none !important; max-width: none !important; opacity: 1 !important; overflow: visible !important; padding: 0px !important; position: fixed !important; vertical-align: baseline !important; visibility: visible !important; z-index: 2147483647 !important; background: transparent !important;" aria-hidden="true" data-ad-status="filled" data-vignette-loaded="true"><ins id="aswift_9_expand" tabindex="0" title="Advertisement" aria-label="Advertisement" style="border: none !important; height: 100vh !important; width: 100vw !important; margin: 0px !important; padding: 0px !important; position: relative !important; visibility: visible !important; background-color: transparent !important; display: inline-table !important; inset: auto !important; clear: none !important; float: none !important; max-height: none !important; max-width: none !important; opacity: 1 !important; overflow: visible !important; vertical-align: baseline !important; z-index: auto !important;"><ins id="aswift_9_anchor" style="border: none !important; height: 100vh !important; width: 100vw !important; margin: 0px !important; padding: 0px !important; position: relative !important; visibility: visible !important; background-color: transparent !important; display: block !important; inset: auto !important; clear: none !important; float: none !important; max-height: none !important; max-width: none !important; opacity: 1 !important; overflow: visible !important; vertical-align: baseline !important; z-index: auto !important;"><iframe id="aswift_9" name="aswift_9" style="width: 100vw !important; height: 100vh !important; inset: 0px auto auto 0px !important; position: absolute !important; clear: none !important; display: inline !important; float: none !important; margin: 0px !important; max-height: none !important; max-width: none !important; opacity: 1 !important; overflow: visible !important; padding: 0px !important; vertical-align: baseline !important; visibility: visible !important; z-index: auto !important;" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="" height="" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" src="./使用JVM常用GC日志打印参数_java_脚本之家_files/zrt_lookup(1).html" data-google-container-id="a!a" data-google-query-id="CKKAvJ6J5_cCFXxAwgUdNkICLA" data-load-complete="true"></iframe></ins></ins></ins></html>